package com.chehejia.devmng.platform.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author SongJian
 * Created by SongJian at 2018/5/3.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("统一请求")
public class Request<T> implements Serializable {

    private static final long serialVersionUID = -8360402475651294856L;

    /**
     * 请求参数
     */
    @ApiModelProperty("请求参数")
    private T param;

    public T getParam() {
        return param;
    }

    public void setParam(T param) {
        this.param = param;
    }
}
